package com.ty.skysystem.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ty.skysystem.entity.CarriersEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ty.skysystem.entity.to.CarriersSchedulingEntityTo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 承运单信息表: 用于存放和管理承运单信息 外键列: user_id => 外键表: User
 *
 * @author tianyuzhu
 * @email 1659770218@QQ.COM
 * @date 2020-12-11 15:56:09
 */
@Mapper
public interface CarriersDao extends BaseMapper<CarriersEntity> {
    CarriersSchedulingEntityTo selectCarriersSchedulingById(Integer carriersId);

    IPage<CarriersEntity> accountingForTransportationCosts(Page<CarriersEntity> page, String teamName);
}
